package com.dd.mapper;

import com.dd.entity.Employee;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface EmployeeMapper {

    /**
     * 获取全部员工信息
     * @return
     */
    List<Employee> getAllEmployee();

    /**
     * 新增员工
     */
    int saveEmployee(Employee employee);

}
